home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Hiliting and system hilite colour in ODF?
- Sent: 7/10/96 5:30 AM
- Received: 7/10/96 8:46 AM
- From: Serge Froment, sfroment@odyssee.net
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- >How do I get the system's current hilite colour as defined in the Color
- >control panel? I can't seem to find any way to do so with ODF.
-
- Here is how I do it in my code:
-
- FW_CInk CMyView::GetSelectionInk() const
- {
- RGBColor platformColor;
- ::LMGetHiliteRGB(&platformColor);
- FW_CColor highlightColor(platformColor);
- return FW_CInk(highlightColor, this->GetBackgroundColor(), FW_kHilite);
- }
-
- Serge
-
-
-